package com.hu.video.mapper;

import com.hu.video.entity.SocialCommentLike;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;

@Mapper
public interface SocialCommentLikeMapper {
    int insertLike(SocialCommentLike like);
    int deleteLike(@Param("commentId") Long commentId, @Param("userId") Long userId);
    int countLikes(@Param("commentId") Long commentId);
    SocialCommentLike selectByCommentAndUser(@Param("commentId") Long commentId, @Param("userId") Long userId);
} 